
#ifndef HELLO_DRIVER_H
#define HELLO_DRIVER_H
#include <linux/types.h>
#include <linux/kdev_t.h>
#include <linux/cdev.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/fcntl.h>

struct my_file_private_data
{
    char data1[30];
    char data2[30];
};
static int my_open (struct inode * this_inode, struct file * this_file);
static int my_release (struct inode * this_inode, struct file * this_file);
static ssize_t my_write (struct file *, const char __user *, size_t, loff_t *);
static ssize_t my_read (struct file *, char __user *, size_t, loff_t *);

#endif